-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1/4] Move methods under the redfishwrapper for reuse #369
[1/4] Move methods under the redfishwrapper for reuse #369
Conversation
This enables other providers to reuse the Inventory method and customise its use based on the vendor/model
The FirmwareUpload and related methods in redfishwrapper are more generic and can be re-used by providers with OEM specific update parameters. Having these methods in the redfish provider makes it cumbersome to maintain and extend.
…pper The wrapper provides implementations other providers can call into for code reuse
…oved method internals into the redfishwrapper so they can be reused by other providers
This helps with debugging failed tasks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All OK but test and lint fail
…thod should be generic
…rSet(), PowerStateGet() methods
…oadedAndInitiate(), FirmwareInstallStatus() methods
[4/4] Redfish dell
[3/4] redfish/GetBiosConfiguration: move tests and fixtures
[2/4] Supermicro redfish methods
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## devel-rework-redfishwrapper #369 +/- ##
===============================================================
- Coverage 44.60% 43.87% -0.74%
===============================================================
Files 61 59 -2
Lines 5206 5042 -164
===============================================================
- Hits 2322 2212 -110
+ Misses 2628 2608 -20
+ Partials 256 222 -34 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of changes!
What does this PR implement/change/remove?
This is to allow each vendor/OEM provider to re-use and extend these methods.
Checklist